package com.huawei.hwclouds.lubanops.demo.product.biz.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huawei.hwclouds.lubanops.demo.common.biz.Mapper;
import com.huawei.hwclouds.lubanops.demo.common.biz.PageList;
import com.huawei.hwclouds.lubanops.demo.product.biz.mapper.MerchandiseRefDetailMapper;
import com.huawei.hwclouds.lubanops.demo.product.biz.model.MerchandiseRefDetailModel;
import com.huawei.hwclouds.lubanops.demo.product.biz.param.MerchandiseRefDetailParam;

/**
 * @author y00438022
 * @since 2020/8/17
 **/
@Service
public class MerchandiseRefDetailService
    extends ConfigBizServiceBase<MerchandiseRefDetailModel, MerchandiseRefDetailParam> {

    @Autowired
    private MerchandiseRefDetailMapper mapper;

    @Override
    public Mapper<MerchandiseRefDetailModel, MerchandiseRefDetailParam> getMapper() {
        return mapper;
    }

    @Override
    public void create(MerchandiseRefDetailModel model) {
        super.create(model);
    }

    @Override
    public Integer update(MerchandiseRefDetailModel model) {
        return super.update(model);
    }

    @Override
    public PageList<MerchandiseRefDetailModel> pageQuery(MerchandiseRefDetailParam param) {
        return super.pageQuery(param);
    }

    @Override
    public MerchandiseRefDetailModel retrieveById(Long id) {
        return super.retrieveById(id);
    }

    @Override
    public List<MerchandiseRefDetailModel> findAll() {
        return super.findAll();
    }
}
